package com.lianniu.web.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017-05-06.
 */
public class OrderConstants {
    public static Map<String,String> getOrderStatusMap(){
        Map<String,String> orderStatus = new HashMap<>();
        orderStatus.put("01","初始化");
        orderStatus.put("02","正在找货");
        orderStatus.put("03","找货完成");
        orderStatus.put("04","已交款");
        orderStatus.put("05","已发货");
        orderStatus.put("06","已签收");
        orderStatus.put("07","待评价");
        orderStatus.put("08","已评价");
        return orderStatus;
    }
    public static String getOrderStatusName(String key){
        return getOrderStatusMap().get(key);
    }
}
